package models.exceptions;

import play.mvc.WebSocket;

import com.fasterxml.jackson.databind.JsonNode;

public class JsonOutputException extends PublicException
{
	private static final long serialVersionUID = 7432266952991737358L;
	
	public WebSocket.Out<JsonNode> out;
	public boolean closeSocket;
	
	public JsonOutputException(String msg, WebSocket.Out<JsonNode> out, boolean closeSocket)
	{
		super(msg);
		this.out = out;
		this.closeSocket = closeSocket;
	}

}
